package com.bw.widget.navigation

import com.bw.baseapplication.BaseApplication
import com.bw.widget.navigation.DestinationEntity
import com.bw.widget.navigation.MainTabsEntity


//在application中获取json对象以及解析对应实体类
open class UIApplication : BaseApplication() {

    companion object{
        //获取JSON数据以及解析
        var tabs: MainTabsEntity?= null
        var destinationes :HashMap<String, DestinationEntity> ?= null
    }

    override fun onCreate() {
        super.onCreate()
        tabs = AppConfig().getTabs()
        destinationes = AppConfig().getDestination()
    }

}